
#include "Action.h"


using namespace cgMath;
using namespace cgGame;



//CAction::CAction()
//:m_position(0.0f, 0.0f),
//	m_direction(0.0f, 0.0f)
//{
//
//}



CAction::CAction(cgVector2D pos /* = cgVector2D(0.0f, 0.0f) */, 
				 cgVector2D dir /* = cgVector2D(0.0f, 0.0f) */)
:m_position(pos),
	m_direction(dir)
{

}



CAction::~CAction()
{

}



cgVector2D CAction::GetDirection()
{
	return m_direction;
}

void CAction::SetDirection(cgVector2D dir)
{
	m_direction = dir;
}



cgVector2D CAction::GetPosition()
{
	return m_position;
}

void CAction::SetPosition(cgVector2D pos)
{
	m_position = pos;
}

//inline cgVector2D CAction::GetDirection()
//{
//	return m_direction;
//}
//
//inline void CAction::SetDirection(cgVector2D dir)
//{
//	m_direction = dir;
//}
//
//
//
//inline cgVector2D CAction::GetPosition()
//{
//	return m_position;
//}
//
//inline void CAction::SetPosition(cgVector2D pos)
//{
//	m_position = pos;
//}